import React from 'react';
import { Icon } from './base';

/**
 * &#xe640; 优店
 *
 * @export
 * @class IconGoodShop
 * @extends {Icon}
 */
export default class IconGoodShop extends Icon {
    static defaultProps = {
        ...Icon.defaultProps,
        color: '#F4CE13',
    };

    render() {
        const { color, className, style } = this.props;

        const { width, height } = this.getSize();

        return (
            <svg viewBox="0 0 1024 1024" width={width} height={height} style={style} className={className}>
                <path
                    d="M243.8656 164.6592h541.696l71.8848 231.9104a103.424 103.424 0 0 1-103.168 97.8944 102.656 102.656 0 0 1-88.32-49.792c-0.256-0.3584-0.512-0.64-0.768-1.024a40.576 40.576 0 0 0-2.7136-3.584c-0.6912-0.8192-1.3568-1.6384-2.0736-2.3808a54.528 54.528 0 0 0-5.9648-4.864c-0.4608-0.3072-0.8448-0.7168-1.3312-1.024-0.6912-0.4096-1.4336-0.64-2.1504-1.024a41.6512 41.6512 0 0 0-3.2512-1.536c-1.2032-0.512-2.4576-0.896-3.712-1.28a38.8864 38.8864 0 0 0-14.4896-1.408 38.656 38.656 0 0 0-14.1824 4.2496c-0.7168 0.3584-1.4592 0.5888-2.1248 1.024-0.512 0.256-0.8448 0.6656-1.3312 0.9984a27.648 27.648 0 0 0-2.816 2.1248 35.6864 35.6864 0 0 0-3.0976 2.7392c-0.768 0.7424-1.4336 1.5872-2.0992 2.3808a36.5056 36.5056 0 0 0-2.7648 3.584l-0.768 1.024A102.6048 102.6048 0 0 1 512 494.464a102.656 102.656 0 0 1-88.3456-49.792c-0.2048-0.3584-0.512-0.64-0.768-1.024a40.576 40.576 0 0 0-2.7136-3.584c-0.6912-0.8192-1.3568-1.6384-2.0736-2.3808a46.7456 46.7456 0 0 0-3.1488-2.7648c-0.9472-0.768-1.8432-1.4592-2.816-2.0992-0.4608-0.3072-0.8448-0.7168-1.3312-1.024-0.6912-0.4096-1.4336-0.64-2.1504-1.024a37.1968 37.1968 0 0 0-25.2416-3.6608 38.8864 38.8864 0 0 0-10.3936 3.6864c-0.6912 0.3584-1.4592 0.5888-2.1248 1.024-0.512 0.256-0.8448 0.6656-1.3312 0.9984a27.648 27.648 0 0 0-2.816 2.1248 35.6864 35.6864 0 0 0-3.0976 2.7392c-0.768 0.7424-1.4336 1.5872-2.0992 2.3808a40.8832 40.8832 0 0 0-2.7648 3.584l-0.768 1.024a102.6048 102.6048 0 0 1-88.32 49.792 103.4752 103.4752 0 0 1-103.168-97.536l77.312-232.2688z m25.8304 406.6048a178.6368 178.6368 0 0 0 121.1648-47.0016A178.6368 178.6368 0 0 0 512 571.264a178.6368 178.6368 0 0 0 121.1648-47.0016 178.5344 178.5344 0 0 0 121.1392 47.0016c99.3024 0 180.096-80.768 180.096-180.0704 0-3.8656-0.5888-7.7056-1.7408-11.392L850.5344 114.8928a38.3744 38.3744 0 0 0-36.6592-27.0336H216.1664c-16.5376 0-31.232 10.5728-36.4288 26.2656L91.5712 379.0592a38.2464 38.2464 0 0 0-1.9712 12.1344c0 99.3024 80.7936 180.0704 180.096 180.0704zM846.8224 591.0272a38.4 38.4 0 0 0-38.4 38.4v216.3712H215.808v-216.3712a38.4 38.4 0 0 0-76.8 0v254.7712a38.4 38.4 0 0 0 38.4 38.4h669.3888a38.4 38.4 0 0 0 38.4-38.4v-254.7712a38.4 38.4 0 0 0-38.4-38.4"
                    fill={color}
                />
            </svg>
        );
    }
}
